package com.share.dao.oa.org;

import java.util.LinkedHashMap;
import java.util.List;

import com.share.bean.oa.org.Employee;
import com.share.commons.base.query.PageModel;

/**
 * 说明：
 * 员工DAO接口
 * <br/>作者： 杨浩泉
 * <br/>日期： 2010-5-2
 */
public interface EmployeeDao {

	public void saveEmpDao(Employee emp) throws RuntimeException ;
	
	public void updateEmpDao(Employee emp) throws RuntimeException ;
	
	public Employee loadByEmpNoDao(String empNo) throws RuntimeException ;
	
	public Employee findByParamEmpDao(String hql,String whereHQL,List<Object> param) throws RuntimeException ;
	
	public PageModel<Employee> getScrollDataEmpDao(String hql,String whereHQL,List<Object> param,int firstResult,int maxResult,LinkedHashMap<String,String> orderby) throws RuntimeException ;
	
	public void updateByParamEmpDao(String hql,String setHQL,String whereHQL,Object[] param) throws RuntimeException ;
	
	
}
